package com.hooya.fa.eu.biz.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hooya.fa.eu.api.bo.JpkStockBO;
import com.hooya.fa.eu.biz.dao.entity.Pk;
import com.hooya.fa.eu.biz.dao.entity.TempKcjlDaily;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2025/1/22
 * @Version 1.1.0
 */
@Mapper
public interface PkMapper extends BaseMapper<Pk> {

    void insertBatchSomeColumn(List<Pk> list);

    List<Pk> getEvenUpList(@Param("date") String date, @Param("excludeSkuList") List<String> excludeSkuList);

    List<JpkStockBO> get2024JpkPyList();

    List<JpkStockBO> get2024JpkPkList();

    List<JpkStockBO> getDeductionList();

    List<Pk> getProfitNoPlaceListByHistory();

    List<Pk> getProfitNoPlaceListByKc(@Param("skuList") List<String> skuList);

    List<TempKcjlDaily> getDeepSkuPkListBySku(@Param("skuList") List<String> skuList);
}
